<?php

/**
 * Description of CheckinModelclass
 *
 * @author Mike Gao
 */
class Room_maintainModel extends CommonModel {
    public $_validate	=	array(
		//array('account','/^[a-z]\w{3,}$/i','帐号格式错误'),
		array('room_id','require','房间必须填写！'),
		array('start_time','require','起始时间必须填写！'),
		array('end_time','require','截止时间必须填写！'),
		);

    protected $_auto = array(
        array('create_time','time',1,'function'),
        array('update_time','time',3,'function'),
        array('start_time','strtotime',3,'function'),
        array('end_time','strtotime',3,'function'),
        array('alert_time','strtotime',3,'function'),
    );
}
?>
